#!/bin/bash
# opkg install coreutils-dd
backup_path="/ext_overlay/osbackup"
mkdir -p ${backup_path};
cd ${backup_path};rm -f *.img.gz;
dd if=/dev/sda bs=512 count=4982272 status=progress | gzip >/ext_overlay/osbackup/iStoreOS_$(date +%Y%m%d).img.gz


# curl https://gitee.com/team_space/mynet_info/raw/master/istoreos_backup.sh|bash   